

const STATUS = {
  vaild: [{
    label: '通过',
    value: '1'
  }, {
    label: '待审核',
    value: '2'
  }, {
    label: '异常商家',
    value: '3'
  }, {
    label: '不通过',
    value: '4'
  }]
}

export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "searchSize": 'mini',
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "storeId"
    },	  {
      "type": "input",
      "label": "店铺名称",
      "prop": "storeName",
      "type": 'select',
      dicUrl: '/rms-api/rms/store/getStore?status=2',
      "search": true
    }, {
      "type": "input",
      "label": "状态",
      "prop": "status",
      "dicData": STATUS.vaild,
    },	  {
      "type": "input",
      "label": "操作人",
      "prop": "editName"
    },	  {
      "type": "input",
      "label": "申请时间",
      "prop": "createTime"
    }]
}

export const normalOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "searchSize": 'mini',
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "storeId"
    },	  {
      "type": "input",
      "label": "店铺名称",
      "prop": "storeName",
      "type": 'select',
      dicUrl: '/rms-api/rms/store/getStore?status=1',
      "search": true
    }, {
      "type": "input",
      "label": "开店时间",
      "prop": "adoptTime",
    },	  {
      "type": "input",
      "label": "操作人",
      "prop": "editName"
    },	  {
      "type": "input",
      "label": "操作时间",
      "prop": "editTime"
    }]
}

export const abnormalOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "searchSize": 'mini',
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "storeId"
    },	  {
      "type": "input",
      "label": "店铺名称",
      "prop": "storeName",
      "type": 'select',
      dicUrl: '/rms-api/rms/store/getStore?status=3',
      "search": true
    }, {
      "type": "input",
      "label": "申请时间",
      "prop": "createTime",
    },	{
      "type": "input",
      "label": "锁定时间",
      "prop": "examineTime",
    }, {
      "type": "input",
      "label": "操作人",
      "prop": "editName"
    },	  {
      "type": "input",
      "label": "操作时间",
      "prop": "editTime"
    }]
}